<!--<ion-view hide-nav-bar="true">-->
<ion-view view-title="{{product.pname}}">
	<ion-content>
		<ion-slide-box show-pager="true" on-slide-changed="slideHasChanged($index)">
			<ion-slide ng-repeat="img in imgs">
		  		<img class="full-image" ng-src="{{img}}">
		  	</ion-slide>
		</ion-slide-box>
	
		<ion-list>
			<ion-item>
				<div style="float:left">
		          	<h2>{{product.pname}}</h2>
		        	<span style="font-size:20px;font-weight: bold;color:darkorange">{{product.shop_price}}元</span>
		        	<span style="text-decoration: line-through">{{product.market_price}}元</span>
	        	</div>
	        	<div style="float:right">
	        		<a class="button button-small" ng-click="decrement()">-</a>
	        		<span>{{quantity}}</span>
	        		<a class="button button-small" ng-click="increment()">+</a>
				</div>
			</ion-item>
			<ion-item class="item-icon-right">
				<h5>{{product.standard}}</h5>
				<i class="icon ion-ios-checkmark-empty energized"></i>
			</ion-item>
			<ion-item class="item-icon-right" href="#/detail/{{product.pid}}">
				<h2>商品详情</h2>
				<i class="icon ion-ios-arrow-right"></i>
			</ion-item>
		</ion-list>
	</ion-content>
	<ion-footer-bar>
		<a href="#/tab/cart" class="button button-clear icon ion-ios-cart-outline"></a>
    	<button ng-click="addCart()" class="button button-balanced button-large" style="float:right">加入购物车</button>
 	</ion-footer-bar>
</ion-view>